/**
 * Copyright 2011 Joe Choi, All rights reserved.
 */
package tao.calendar.gregorian;

/**
 * The concrete implementation of ModifiableTime interface
 * 
 * @author Joe Choi
 * @version 1.0.1
 */
class ConcreteModifiableTime extends ConcreteGregorianTime implements ModifiableTime {
	public ConcreteModifiableTime(GregorianTime time) {
		super(time);
	}
	
	@Override
	public ModifiableTime setHour(int hour) {
		setInternalHour(hour);
		return(this);
	}

	@Override
	public ModifiableTime setMinute(int minute) {
		setInternalMinute(minute);
		return(this);
	}

	@Override
	public ModifiableTime setSecond(int second) {
		setInternalSecond(second);
		return(this);
	}

	@Override
	public ModifiableTime setMillisecond(int ms) {
		setInternalMillisecond(ms);
		return(this);
	}
}
